package com.zoshine.zzg.pojo;


import com.zoshine.zzg.base.Pagination;
import com.zoshine.zzg.pojo.pojostatus.CommonStatus;

/**
 * 资金流动类型
 */
public class FlowType extends Pagination{
    /**支出*/
    public static final int EXPENDITURE =0;

    /**收入*/
    public static final int INCOME=1;

    /**流动名称*/
    private String name;

    /**状态*/
    private Integer status;

    /**流动类型*/
    private Integer type;

    public  String getStatusStr(){
        return CommonStatus.getDesc(status);
    }
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}